#ifndef THREAD_H
#define THREAD_H
#include<QThread>
#include<QWidget>
#include<QMutex>
class TimeThread : public QThread
{
 Q_OBJECT
public:
 TimeThread(QWidget* parent);
 void run(); //线程任务函数

signals:
 void sendTime(QString Time); //声明信号函数
private:
 static int num;
 static QMutex mutex;

};
#endif // TIMETHREAD_H
